package com.six.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.six.bean.Staff;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface StaffMapper extends BaseMapper<Staff> {
    @Select("select * from staffid where staffid=#{staffid}")
    Staff selectById(@Param("staffid") Integer staffid);
}
